package com.zsqat.eshop.order.dao;

import com.zsqat.eshop.order.entity.OrderEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 订单
 *
 * @author zsqat
 * @email 491192853@qq.com
 * @date 2020-11-19 15:36:52
 */
@Mapper
public interface OrderDao extends BaseMapper<OrderEntity> {
  /**
   * 修改订单状态
   * @param orderSn
   * @param code
   * @param payType
   */
  void updateOrderStatus(@Param("orderSn") String orderSn,
                         @Param("code") Integer code,
                         @Param("payType") Integer payType);
}
